PaymentPlugins\WooCommerce\PPCP\ContextHandler S

Total Complexity 30
Dependencies 0
Dependents 17
Total lines 116
Lines of code 75
Logical lines of code 39
Comment lines 3
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
initialize()
A
51 13 25
__construct()
S
70 2 6
is_frontend()
S
78 2 3
has_context()
S
70 2 6
set_context()
S
81 1 3
get_context()
S
82 1 3
is_context()
S
76 1 4
is_checkout()
S
80 1 3
is_add_payment_method()
S
80 1 3
is_cart()
S
80 1 3
is_product()
S
80 1 3
is_order_pay()
S
80 1 3
is_order_received()
S
80 1 3
is_shop()
S
80 1 3
get_order_from_query()
S
75 1 4